package com.atguigu.eduservice.service;

import com.atguigu.eduservice.entity.EduComment;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 评论 服务类
 * </p>
 *
 * @author testjava
 * @since 2021-05-12
 */
public interface EduCommentService extends IService<EduComment> {
    //删除评论
    boolean deleteById(String commentId, String userId);
    //判断是否是该用户的评论
    boolean isComment(String commentId, String userId);
}
